<?php

namespace app\admin\model\vppz;

use think\Model;
use think\Db;
use traits\model\SoftDelete;

class Followup extends Model
{

    use SoftDelete;



    // 表名
    protected $name = 'vppz_order_follow_up';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = 'deletetime';
     public function admin()
    {
        return $this->belongsTo('app\admin\model\Admin', 'operator_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
    public function gettypeList()
    {
        return ["1"=>__('Followtype 1'),"2"=>__('Followtype 2'),"3"=>__('Followtype 3'),"4"=>__('Followtype 4'),"5"=>__('Followtype 5')];
    }
}
